package QuestionNum_10_1_2;

public class Test {
    public static void main(String[] args) {
        Employee e1 = new Student("小红",18);
        Employee e2 = new Teacher("小强",34);

        e1.eat();
        e1.learn();

        e2.eat();
        e2.teach();
    }
}
